class BlocDemoState {
  int counter;

  BlocDemoState({this.counter = 0});

  BlocDemoState init() {
    return BlocDemoState();
  }

  BlocDemoState clone({int? counter}) {
    return BlocDemoState(counter: counter ?? this.counter);
  }
}